(imenu--generic-function): Docstring fix.
authorLute Kamstra <lute@gnu.org>
Thu, 2 Oct 2003 09:44:50 +0000 (09:44 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 2 Oct 2003 09:44:50 +0000 (09:44 +0000)
lisp/imenu.el

index 63da70f0923a3e50c8e9fa184bd103289262be4c..42f50fba3a4f080a7455347cce5ae7d837249d96 100644 (file)
@@ -751,6 +751,9 @@ for modes which use `imenu--generic-function'.  If it is not set, but
 
 PATTERNS is an alist with elements that look like this:
  (MENU-TITLE REGEXP INDEX).
+or like this:
+ (MENU-TITLE REGEXP INDEX FUNCTION ARGUMENTS...)
+with zero or more ARGUMENTS.
 
 MENU-TITLE is a string used as the title for the submenu or nil if the
 entries are not nested.
@@ -766,9 +769,13 @@ function, variable or type) that is to appear in the menu.
 See `lisp-imenu-generic-expression' for an example of PATTERNS.
 
 Returns an index of the current buffer as an alist.  The elements in
-the alist look like: (INDEX-NAME . INDEX-POSITION).  They may also be
-nested index lists like (INDEX-NAME . INDEX-ALIST) depending on
-PATTERNS."
+the alist look like:
+ (INDEX-NAME . INDEX-POSITION)
+or like:
+ (INDEX-NAME INDEX-POSITION FUNCTION ARGUMENTS...)
+They may also be nested index alists like: 
+ (INDEX-NAME . INDEX-ALIST)
+depending on PATTERNS."
 
   (let ((index-alist (list 'dummy))
        prev-pos beg